package com.trafficsys.modules.licenseplaterecognition.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.trafficsys.modules.entity.Ticket;
import com.trafficsys.modules.licenseplaterecognition.vo.TicketVo;

import java.util.HashMap;

public interface TicketService {
    HashMap<String, Object> addTicket(Ticket ticket);

    HashMap<String, Object> carNoOCR(String img);

    IPage<TicketVo> allTickets(Page<TicketVo> page);

    IPage<TicketVo> getSelfTickets(Page<TicketVo> page,String card_id);
}
